export interface Book {
  bookId: number;
  title: string;
  author: string;
  isbn: string;
  category: string;
  description: string;
  coverUrl: string | null;
  status: number; // 0:可借阅 1:已借出
  createTime: string;
  updateTime?: string;
}

export interface BookQueryParams {
  pageNum: number;
  pageSize: number;
  category?: string;
  keyword?: string;
}

export interface PageResult<T> {
  total: number;
  pages: number;
  current: number;
  records: T[];
}
